home *** CD-ROM | disk | FTP | other *** search
/ Best of Shareware / Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso / mac / ZIPPED / DOS / GAMES / KRIS15B.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-06-13  |  2KB  |  60 lines

  1. @echo off
  2. cls
  3. echo  
  4. echo  
  5. echo  
  6. if not exist KRIS15B.EXE goto wrongdisk
  7. if not exist INSTALL.BAT goto wrongdisk
  8. goto continue
  9. :wrongdisk
  10. echo This program must be run from the disk and directory containing the KrisKros
  11. echo distribution files shown below:
  12. echo  
  13. echo         INSTALL.BAT        
  14. echo         KRIS15B.EXE
  15. echo  
  16. echo Log the disk and/or change to the directory containing these files and then 
  17. echo run the INSTALL program again.
  18. goto end
  19. :continue
  20. echo This program will extract the KrisKros software into the following directory:
  21. echo  
  22. if "%1"=="" echo         C:\KRIS
  23. if not "%1"=="" echo         %1
  24. echo  
  25. echo KrisKros requires approximately 450K of free disk space.  Please make sure
  26. echo that you have enough disk space available to complete the installation. 
  27. echo  
  28. echo If you wish to install KrisKros to a disk and/or directory other than the 
  29. echo one shown above, press [Ctrl]-[Break] now to abort this installation process 
  30. echo and then type the following:
  31. echo  
  32. echo         INSTALL d:\dirname
  33. echo  
  34. echo Where d is the disk drive letter and dirname is the name of the directory.
  35. echo  
  36. echo Press any key now to proceed with the installation described above...
  37. pause > nul
  38. cls
  39. echo  
  40. echo  
  41. echo  
  42. if "%1"=="" goto default
  43. KRIS15B %1
  44. goto status
  45. :default
  46. KRIS15B C:\KRIS
  47. :status
  48. echo  
  49. echo  
  50. if not errorlevel==1 goto success
  51. echo KrisKros installation failure!
  52. echo  
  53. echo Make certain that a valid disk and/or directory has been specified.  Also,
  54. echo verify that there is at least 450K of available space on the specified disk.
  55. goto end
  56. :success
  57. echo KrisKros installation successfully completed!
  58. :end
  59. echo  
  60.